package com.wzy.service.reposirory.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.wzy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuzhengyu
 * @since 2021-03-13
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="UserNote对象", description="")
public class UserNote extends BaseEntity {

    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "笔记所有者")
    private Long uid;

    @ApiModelProperty(value = "被做笔记的单词")
    private Long uWId;

    @ApiModelProperty(value = "对应到单词库被做笔记的单词")
    private Long wid;

    @ApiModelProperty(value = "笔记内容")
    private String content;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    @TableField("is_deleted")
    private Integer deleted;


}
